#!/usr/bin/env  bash

echo "check k8s whether is working..."


coredns_ip=$(kubectl get pod -n kube-system -o wide  | grep -i coredns  | awk '{print $6}'| head -n 1)

ping -c 3 $coredns_ip


kubectl describe service kubernetes


kubectl create -f busybox.yaml
